<!DOCTYPE html>
<html>
<body>

<h3>Testing Image Embed</h3>

<!-- 使用embed标签，并指定type为 image/png -->
<embed
        type="image/png"
        src="resource://rawfile/icon.png"
width="300"
height="200">

<script>
    window.onload = function() {
        console.log("Page loaded with embed image.");
    };
</script>

</body>
</html>